Search results
112 packages found
Finds the closest color name to a given hex, rgb and hsl color (with and without alpha). It uses the Euclidean distance formula to calculate the distance between colors in the RGB color space
Map color names to HEX color values.
[![npm version](https://img.shields.io/npm/v/repo-color-utility-package.svg)](https://www.npmjs.com/package/repo-color-utility-package)
- hex
- rgb
- color
- utility
- javascript
- web
- web-design
- design
- frontend
- development
- graphics
- manipulation
- conversion
- library
- View more
A simple, easy to use vanilla JS color picker with alpha selection.
A utility to generate color palettes with multiple formats and modes.
Converts hex colors to rgb
Convert RGB(A) color to HEX
Determines the best contrast color to use. Give it a background color and it returns a foreground color (black or white by default but customizable).
- accessibility
- background
- black
- bright
- brighten
- brightness
- chroma
- color
- colors
- contrast
- convert
- css
- dark
- darken
- View more
Converts hex color to rgb and calculates appropriate corresponding foreground.
A JavaScript library, written in TypeScript, to convert among different color models
- color
- color-converter
- color-translator
- color-manipulation
- css-color
- css-color-convert
- rgb
- rgba
- hex
- hexadecimal
- hsl
- hsla
- cmyk
- typescript
Convert hexadecimal, RGB, HSL, LCH or CMYK color to a name and a shade with i18n support.
lightweight rgb/rgba to hex parser
Convert 6 digits and 3 digits hex color codes to RGB values. Returns object and arrays.
- rgb
- rgba
- hextorgb
- hex-rgb-conv
- hex
- short
- shorthand
- 3digits
- shortcut
- convert
- conversion
- converter
- color
- html
- View more
Small library for converting colors to hsl(a)
Convert HEX/HEXa/aHEX with alpha to RGBa and back
Converts rgb colors to hex
Map color names to HEX color values with es-module and typescript
A really simple package that enables you to specify an opacity for your HEX colours.
ColorInterpreter is a module able to convert any acceptable browser color-scheme to any other acceptable browser color-scheme.